package com.daumcorp.searchdata.service.internal;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.daumcorp.searchdata.domain.Author;
import com.daumcorp.searchdata.repository.AuthorMapper;
import com.daumcorp.searchdata.service.AuthorService;

@Service
public class AuthorServiceImpl implements AuthorService {
	@Autowired
	private AuthorMapper mapper;

	@Override
	public void saveAuthor(Author author) {
		mapper.insertAuthor(author);
	}
}